package si.yun.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import si.yun.dao.SyLoginRecordMapper;
import si.yun.service.SyLoginLogSelService;

import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * @ClassName: 查询登录日志实现类
 * @Description: TODO
 * @Author: 柴秋生
 * @Date 2021/8/15 9:37
 */
@Service
public class SyLoginLogSelServiceImpl implements SyLoginLogSelService {
    @Autowired
    private SyLoginRecordMapper syLoginRecordMapper;
    /**
     * 查询登录日志
     * @Author : 柴秋生
     * @Date : 2021/8/15 10:01
     * @Param : []
     * @Return : java.util.List<java.util.Map<java.lang.String,java.lang.Object>>
     */
    @Override
    public List<Map<String, Object>> selLoginLogs(String mid) {
        List<Map<String,Object>> selLoginLogs=syLoginRecordMapper.selLoginLogs(mid);
        return selLoginLogs;
    }

}
